package org.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 宋孟林
 * @description
 */
@Data
public class Type implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer tid;
    private String tname;
    @Version
    private Integer version;
    @TableLogic
    private Integer isDeleted;
}
